package follow.pratice.in2020;

/**
 * @Author tu zy
 * @Date 2020/11/25 16:40
 * @Version 1.0
 */
public enum Case_3 {
    MYSQL(1, "sss"),
    SQLSERVER(2, "sssss");

    int a;
    String s;

    Case_3(int a, String s) {
        this.a = a;
        this.s = s;
    }

    public int getA() {
        return a;
    }

    public void setA(int a) {
        this.a = a;
    }

    public String getS() {
        return s;
    }

    public void setS(String s) {
        this.s = s;
    }

    public static void main(String[] args) {
        int ordinal = MYSQL.ordinal();
        System.out.println(ordinal);
    }
}
